package test.ioc.cd;

import com.why.simpleboot.core.annotation.ioc.Autowired;
import com.why.simpleboot.core.annotation.mvc.GetMapping;
import com.why.simpleboot.core.annotation.mvc.RestController;

import java.util.UUID;

/**
 * @program: why-simpleboot-framework
 * @description:
 * @author: @why
 * @create: 2021-05-24 15:50
 **/
@RestController("/cd")
public class ABCController {
    @Autowired
    A a;
    @Autowired
    C c;

    @GetMapping("/abc")
    public String get() {
        a.A();
        c.C();
        return UUID.randomUUID().toString();

    }
}
